package com.foreverwin.quartz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
import java.util.Date;

/**
 * 点检任务记录表 Z_SYS_JOB_LOG
 *
 * @author ervin
 * @date 2019-03-13
 */
public class SysJobLog
{
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private String handle;
	/** 任务维护 */
	private String jobBo;
	/** 任务编号 */
	private String jobName;
	/** 任务描述 */
	private String jobDesc;
	/** 任务组 */
	private String jobGroup;
	/** 任务方法 */
	private String methodName;
	/** 任务参数 */
	private String methodParam;
	/** 运行状态 */
	private String status;
	/** 异常信息 */
	private String exceptionInfo;
	/** 运行时间 */
	private Long runTime;
	/** 创建日期 */
	private Date startDateTime;
	/** 结束日期 */
	private Date endDateTime;

	public void setHandle(String handle)
	{
		this.handle = handle;
	}

	public String getHandle()
	{
		return handle;
	}
	public void setJobBo(String jobBo)
	{
		this.jobBo = jobBo;
	}

	public String getJobBo()
	{
		return jobBo;
	}
	public void setJobName(String jobName)
	{
		this.jobName = jobName;
	}

	public String getJobName()
	{
		return jobName;
	}
	public void setJobDesc(String jobDesc)
	{
		this.jobDesc = jobDesc;
	}

	public String getJobDesc()
	{
		return jobDesc;
	}
	public void setJobGroup(String jobGroup)
	{
		this.jobGroup = jobGroup;
	}

	public String getJobGroup()
	{
		return jobGroup;
	}
	public void setMethodName(String methodName)
	{
		this.methodName = methodName;
	}

	public String getMethodName()
	{
		return methodName;
	}
	public void setMethodParam(String methodParam)
	{
		this.methodParam = methodParam;
	}

	public String getMethodParam()
	{
		return methodParam;
	}
	public void setStatus(String status)
	{
		this.status = status;
	}

	public String getStatus()
	{
		return status;
	}
	public void setExceptionInfo(String exceptionInfo)
	{
		this.exceptionInfo = exceptionInfo;
	}

	public String getExceptionInfo()
	{
		return exceptionInfo;
	}
	public void setRunTime(Long runTime)
	{
		this.runTime = runTime;
	}

	public Long getRunTime()
	{
		return runTime;
	}
	public void setStartDateTime(Date startDateTime)
	{
		this.startDateTime = startDateTime;
	}

	public Date getStartDateTime()
	{
		return startDateTime;
	}
	public void setEndDateTime(Date endDateTime)
	{
		this.endDateTime = endDateTime;
	}

	public Date getEndDateTime()
	{
		return endDateTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handle", getHandle())
            .append("jobBo", getJobBo())
            .append("jobName", getJobName())
            .append("jobDesc", getJobDesc())
            .append("jobGroup", getJobGroup())
            .append("methodName", getMethodName())
            .append("methodParam", getMethodParam())
            .append("status", getStatus())
            .append("exceptionInfo", getExceptionInfo())
            .append("runTime", getRunTime())
            .append("startDateTime", getStartDateTime())
            .append("endDateTime", getEndDateTime())
            .toString();
    }
}
